sqoop import \
--delete-target-dir \
--connect jdbc:mysql://rm-bp1y7dm47j8h060vy4o.mysql.rds.aliyuncs.com:3307/bigdata30_traffic_crm?useSSL=false \
--username bigdata30 \
--password 123456 \
--query "select * from base_acd_file where substr(sgfssj,1,10) = '2024-08-10' and \$CONDITIONS" \
--m 1 \
--target-dir '/daas/motl/traffic/ods/ods_base_acd_file_i_d/ds=2024-08-10' \
--fields-terminated-by ','


hive -e "alter table ods.ods_base_acd_file_i_d add if not exists partition (ds='2024-08-10')"
